package com.jf.identity.entity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 应急上报信息
 *
 * @author FCG
 */
public class EmergencyFeedBackInfo implements Serializable {
    private static final long serialVersionUID = 8222485653326980772L;
    /**
     * uuid 应急上报事件id,调用方生成UUID  最大50字符
     */
    @NotBlank(message = "应急上报事件id,调用方生成UUID 不能为空")
    @Size(max = 50, message = "应急上报事件id,调用方生成UUID 最大50字符")
    private String emergencyReportId;
    /**
     * 应急预案编码 最大10字符
     */
    @NotBlank(message = "应急预案编码 不能为空")
    @Size(max = 10, message = "应急预案编码 最大10字符")
    private String emergencyNum;
    /**
     * 应急预案内容 最大500字符
     */
    @NotBlank(message = "应急预案内容 不能为空")
    @Size(max = 500, message = "应急预案内容 最大500字符")
    private String content;
    /**
     * 应急处理备注 最大500字符
     */
    @Size(max = 500, message = "应急处理备注 最大500字符")
    private String memo;
    /**
     * 上报人员姓名 最大50字符
     */
//    @NotBlank(message = "上报人员姓名 不能为空")
    @Size(max = 50, message = "上报人员姓名 最大50字符")
    private String examinerName;
    /**
     * 上报人员身份证号 最大18字符
     */
//    @NotBlank(message = "上报人员身份证号 不能为空")
    @Size(max = 18, message = "上报人员身份证号 最大18字符")
    private String examinerIdCardNo;
    /**
     * 上报时间 2018-04-10 14:00:00
     */
    @NotNull(message = "上报时间不能为空")
    private Date dateTime;
    @Size(max = 5, message = "图片上限5张")
    private List<String> images;
    /**
     * 上报图片存储url
     */
    private String imageUrls;

    public String getEmergencyReportId() {
        return emergencyReportId;
    }

    public void setEmergencyReportId(String emergencyReportId) {
        this.emergencyReportId = emergencyReportId;
    }

    public String getEmergencyNum() {
        return emergencyNum;
    }

    public void setEmergencyNum(String emergencyNum) {
        this.emergencyNum = emergencyNum;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getExaminerName() {
        return examinerName;
    }

    public void setExaminerName(String examinerName) {
        this.examinerName = examinerName;
    }

    public String getExaminerIdCardNo() {
        return examinerIdCardNo;
    }

    public void setExaminerIdCardNo(String examinerIdCardNo) {
        this.examinerIdCardNo = examinerIdCardNo;
    }

    public Date getDateTime() {
        return dateTime;
    }

    public void setDateTime(Date dateTime) {
        this.dateTime = dateTime;
    }

    public List<String> getImages() {
        return images;
    }

    public void setImages(List<String> images) {
        this.images = images;
    }

    public String getImageUrls() {
        return imageUrls;
    }

    public void setImageUrls(String imageUrls) {
        this.imageUrls = imageUrls;
    }

    @Override
    public String toString() {
        return "EmergencyFeedBackInfo{" +
                "emergencyReportId='" + emergencyReportId + '\'' +
                ", emergencyNum='" + emergencyNum + '\'' +
                ", content='" + content + '\'' +
                ", memo='" + memo + '\'' +
                ", examinerName='" + examinerName + '\'' +
                ", examinerIdCardNo='" + examinerIdCardNo + '\'' +
                ", dateTime=" + dateTime +
                ", images=" + images +
                ", imageUrls='" + imageUrls + '\'' +
                '}';
    }
}
